
<div id="page-heading">
	<h1>{$title}</h1>
</div>
{section name=sec1 loop=$user_arr}

     

<table border="0" width="80%" cellpadding="0" cellspacing="0" id="product-table">
	<tr>
		<th colspan="2" align="left" class="table-header-repeat line-left"><img src="images/icons/add.png" />Add New</th>
	</tr>
       
	<tr>
		<td width="20%">Email</td>
		<td width="60%">{$user_arr[sec1].user_email}</td>
	</tr>

	<tr>
		<td width="20%">Password</td>
		<td width="60%"><input type="password" name="user_passwd" id="user_passwd" value="" class="inp-form" style="width: 500px;" /></td>
	</tr>
	<tr>
		<td width="20%">Confirm Password</td>
		<td width="60%"><input type="password" name="confirm_user_passwd" id="confirm_user_passwd" value="" class="inp-form" style="width: 500px;" /></td>
	</tr>
        <tr>
		<td width="20%">Security Question</td>
		<td width="60%"><input type="text" name="secret_question" id="secret_question" value="{$user_arr[sec1].secret_question}" class="inp-form" style="width: 500px;" /></td>
	</tr>
	  <tr>
		<td width="20%">Security Answer</td>
		<td width="60%"><input type="text" name="secret_answer" id="secret_answer" value="{$user_arr[sec1].secret_answer}" class="inp-form" style="width: 500px;" /></td>
	</tr>
        <tr>
		<td width="20%">First Name</td>
		<td width="60%"><input type="text" name="user_firstname" id="user_firstname" value="{$user_arr[sec1].user_firstname}" class="inp-form" style="width: 500px;" /></td>
	</tr>
	<tr>
		<td width="20%">Last Name</td>
		<td width="60%"><input type="text" name="user_lastname" id="user_lastname" value="{$user_arr[sec1].user_lastname}" class="inp-form" style="width: 500px;" /></td>
	</tr>

        <tr class="business">
		<td width="20%">Designation</td>
		<td width="60%"><input type="text" name="Designation" id="Designation" value="{$user_arr[sec1].Designation}" class="inp-form" style="width: 500px;" /></td>
	</tr>

        <tr class="business">
		<td width="20%">Company Name</td>
		<td width="60%"><input type="text" name="companyname" id="companyname" value="{$user_arr[sec1].companyname}" class="inp-form" style="width: 500px;" /></td>
	</tr>
        <tr class="business">
		<td width="20%">Company Address</td>
		<td width="60%"><input type="text" name="companyaddress" id="companyaddress" value="{$user_arr[sec1].companyaddress}" class="inp-form" style="width: 500px;" /></td>
	</tr>
        <tr class="business">
		<td width="20%">Tel No</td>
		<td width="60%"><input type="text" name="user_phone" id="user_phone" value="{$user_arr[sec1].user_phone}" class="inp-form" style="width: 500px;" /></td>
	</tr>
        <tr class="business">
		<td width="20%">Fax:</td>
		<td width="60%"><input type="text" name="user_fax" id="user_fax" value="{$user_arr[sec1].userfax}" class="inp-form" style="width: 500px;" /></td>
	</tr>
         <tr class="business">
		<td width="20%">Type Of Business:</td>
		<td width="60%"><input type="text" name="typeofbusiness" id="typeofbusiness" value="{$user_arr[sec1].typeofbusiness}" class="inp-form" style="width: 500px;" /></td>
	</tr class="business">
        
         <tr class="business">
		<td width="20%">Industry:</td>
		<td width="60%"><input type="text" name="industry" id="industry" value="{$user_arr[sec1].industry}" class="inp-form" style="width: 500px;" /></td>
	</tr>
         <tr class="business">
		<td width="20%">Preffered Payment:</td>
		<td width="60%"><input type="text" name="prefferedpayment" id="prefferedpayment" value="{$user_arr[sec1].prefferedpayment}" class="inp-form" style="width: 500px;" /></td>
	</tr>
        <tr class="business">
		<td width="20%">Is Credit user?</td>
		<td width="60%"><input {$creditorcheck}  type="checkbox" name="iscreditor" id="iscreditor" value="1"/></td>
	</tr>
        <tr class="normal">
		<td width="20%">Profession:</td>
		<td width="60%"><input type="text" name="profession" id="profession" value="{$user_arr[sec1].profession}" class="inp-form" style="width: 500px;" /></td>
	</tr>
        <tr class="normal">
		<td width="20%">Contact Address:</td>
		<td width="60%"><input type="text" name="user_address" id="user_address" value="{$user_arr[sec1].user_address}" class="inp-form" style="width: 500px;" /></td>
	</tr>
        <tr class="normal">
		<td width="20%">NIC no:</td>
		<td width="60%"><input type="text" name="nicno" id="nicno" value="{$user_arr[sec1].nicno}" class="inp-form" style="width: 500px;" /></td>
	</tr>
       <tr>
		<td>Status</td>
		<td><select name="cmbStatus" id="cmbStatus">
		<option  value="">Select Status</option>
		{section name=sec2 loop=$options}
		
		<option value="{$options[sec2].val}" {$select}>{$options[sec2].dsc}</option>
		{/section}
		</select>
		</td>
	</tr>
	
	<tr>
	<td>&nbsp;</td>
	<td><div class="edit-icoset"><input type="hidden" name="userid" id="userid" value="{$user_arr[sec1].user_id}"   /><a href="javascript: void(0);" onclick="updateUser();"><img src="images/icons/save-2.gif" />Save</a></td>
	</tr>
</table>
 {/section}
